package com.bookCodeDemo;

public class WebComApp {
    public static void main(String[] args) {
        Thread webcComeThread = new Thread(new Runnable() {
            @Override
            public void run() {
                System.out.println("2.wble" + Thread.currentThread().getName());
            }
        });
        webcComeThread.start();
        webcComeThread.run();
        System.out.println("1.wble" + Thread.currentThread().getName());
    }

    static class RunnNameDemo {
        public static void main(String[] args) {
            TagetDemo tagetDemo = new TagetDemo();
            if (tagetDemo != null) {
                tagetDemo.run();
            }
        }

    }

    static class TagetDemo implements Runnable {

        @Override
        public void run() {

        }
    }
}
